import request from "@/utils/request";

/**
 * 添加单词设置
 * @param data
 * @returns {*}
 */
export function wordSetting(data) {
  return request({
    url: "/user/wordSetting/setting",
    method: 'post',
    data
  })
}

/**
 * 获取单词设置
 */

export function getWordSetting() {
  return request({
    url: '/user/wordSetting',
    method: 'get'
  })
}
